package com.gin.pixiv.enums

import com.fasterxml.jackson.annotation.JsonValue
import com.gin.pixiv.factory.QueryParameter

/**
 * 是否公开
 * @author bx002
 * @since 2024/2/19 14:32
 */
enum class Restrict(@JsonValue val value: Int) : QueryParameter {
    PUBLIC(0),
    PRIVATE(1),
    ;

    override fun getParameterValue(): String? = value.toString()
}